﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VisualWPSampleUserControl.ascx.cs" Inherits="WebpartSample.VisualWPSample.VisualWPSampleUserControl" %>

  <link href="/_layouts/WebpartSample/style/jquery-ui.css" rel="stylesheet" type="text/css"/>
  <script src="/_layouts/WebpartSample/script/jquery.min.js"></script>
  <script src="/_layouts/WebpartSample/script/jquery-ui.min.js"></script>
  
  <script>
      $(document).ready(function () {
          $('#<%=TextBox1.ClientID %>').focus(function(){
          alert('test');
          });
          $('#<%=TextBox1.ClientID %>').autocomplete({
          source: <%=listTitleStr %>
          });
      });
  </script>
  
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>

<SharePoint:CssRegistration ID="CssRegistration1" name="/Style Library/gvstyle.css" runat="server"  After="corev4.css"/>

<asp:Label ID="lblIncVal" runat="server" Text="Label"></asp:Label>
<asp:HiddenField ID="hf" runat="server" EnableViewState="False" Value="0" 
    Visible="False" />
<asp:TextBox ID="TextBox2" runat="server" Visible="False"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />

    <br />
<br />
<asp:TextBox ID="txtTextBox" runat="server"></asp:TextBox>

    <p><SharePoint:SPGridView runat="server" ID="spgvTest" AutoGenerateColumns="false">

    </SharePoint:SPGridView></p>
<asp:Button ID="txtSendEmail" runat="server" onclick="txtSendEmail_Click" 
    Text="Send e-Mail" />
<p>
    To:<asp:TextBox ID="txtTo" runat="server" Width="487px">liviggl@gmail.com</asp:TextBox>
</p>
<p>
    Body:</p>
<p>
    <asp:TextBox ID="txtBody" runat="server" Height="172px" TextMode="MultiLine" 
        Width="639px">&lt;html&gt;\n&lt;head&gt;\n&lt;/head&gt;\n&lt;body&gt;\nTest Message&lt;a href=&#39;http://www.googl.com&#39;&gt;ClickMe&lt;/a&gt;\n&lt;/body&gt;&lt;/html&gt;</asp:TextBox>
</p>
<asp:Button ID="dotNeteMailSend" runat="server" onclick="dotNeteMailSend_Click" 
    Text="dotNeteMailSend" />
